-- GENERATED SPELL FOR [Deathshadow Acolyte] --


function spell0_22341(pUnit, Event) --@Mind Sear,n/a--
pUnit:FullCastSpellOnTarget(32000,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_22341', 3000, 1)
end

function Sorts_22341(pUnit, Event)
local choix_sorts_22341 = math.random(0, 0)
if choix_sorts_22341 == 0 then
pUnit:RegisterEvent('spell0_22341', 1, 1)
end
end

function mob22341_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_22341', math.random(1500, 3000), 1)
end

function mob22341_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob22341_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob22341_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(22341, 1, 'mob22341_Action')
RegisterUnitEvent(22341, 2, 'mob22341_Leave')
RegisterUnitEvent(22341, 3, 'mob22341_Kill')
RegisterUnitEvent(22341, 4, 'mob22341_Die')
